package pl.tssoft.math.core.calculation.operator.builtin.special;

import pl.tssoft.math.core.calculation.operator.Operator;
import pl.tssoft.math.core.calculation.operator.OperatorType;

/**
 *
 * @author tomasz.serafin
 */
public class EndingOperator extends Operator {
    
    public EndingOperator() {
        super(OperatorType.RIGHT_SIDE, "");
    }
    public EndingOperator(String endingCharacter) {
        super(OperatorType.RIGHT_SIDE, endingCharacter);
    }

    public boolean showResult() {
        return ",".equals(getOperatorString()) || getOperatorString().isEmpty();
    }
}
